/* $Id: neworderlist.js 50 2011-02-21 09:20:36Z jim2212001@gmail.com $ */
// JavaScript Document
$(function() {
	var dates = $('#closedTime, #startTime').datepicker({
		changeMonth:true,
		minDate:0,
		onSelect: function(selectedDate){
			var option = this.id == "startTime" ? "minDate" : "maxDate",
					instance = $( this ).data( "datepicker" );
					date = $.datepicker.parseDate(
						instance.settings.dateFormat ||
						$.datepicker._defaults.dateFormat,
						selectedDate, instance.settings );
			dates.not( this ).datepicker( "option", option, date )
		}
											});
});